<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="Word Completion, completion, completion list, possible completions"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Define completion candidates in CotEditor on Mac</title>
</head>

<body>
<a name="syntax_completion_settings"></a>

<h1>Define completion candidates in CotEditor on Mac</h1>

<p>You can define your own completion candidates par syntax in addition to standard words and words appear in a document by customizing the corresponding syntax.</p>

<p>To define the keywords to appear in the completion list, select Completion List from the list on the left of the syntax editor, then add keywords to the list on the right side. See <a href="syntax_definition.html">Define a syntax</a> for how to open the syntax editor.</p>


<section>
<p>Add words to appear in the list as follows:</p>
<table>
	<thead>
		<tr><th>Field</th><th>Description</th></tr>
	</thead>
	<tbody>
		<tr><th>Completions</th><td>The words you put here appear in the completion list.</td></tr>
	</tbody>
</table>

<p>If no words here, the words generated from your <a href="syntax_highlight_settings.html">syntax highlighting definition</a> appear in the list.</p>
</section>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="howto_complete.html">Complete a word</a></li>
</ul>
</section>

</body>
</html>
